// pages/user/userCenter/comps/userFunc/userFunc.js
Component({
    /**
     * 组件的属性列表
     */
    properties: {
        userInfo: Object,
        isShow: Boolean
    },

    /**
     * 组件的初始数据
     */
    data: {

    },

    /**
     * 组件的方法列表
     */
    methods: {
        myCard: function() {
            wx.navigateTo({
                url: '/pages/user/userCard/userCard'
            })
        },
        goAddressList: function() {
            wx.navigateTo({
                url: '/pages/user/address/addressList/addressList?type=readOnly'
            })
        },
        goMyConcat: function() {
            wx.navigateTo({
                url: '/pages/user/concat/concat'
            })
        },
        goAbout: function() {
            wx.navigateTo({
                url: '/pages/about/about'
            })
        },
        goEmpowerTimes: function() {
            wx.navigateTo({
                url: '/pages/user/empower/empowerTimes/empowerTimes'
            })
        },
        goEmpowerList: function() {
            wx.navigateTo({
                url: '/pages/user/empower/empowerList/empowerList'
            })
        },
        goUpgradeApply: function() {
            wx.navigateTo({
                url: '/pages/user/empower/upgradeApply/upgradeApply'
            })
        },
        invite: function() {
            this.triggerEvent('invite')
        },
        goMyArtical: function() {
            wx.navigateTo({
                url: '/pages/socialSystem/myArtical/myArtical'
            })
        },
        myCompany: function() {
            wx.navigateTo({
                url: '/pages/user/company/company'
            })
        },
        goMyZeroBuy: function() {
            wx.navigateTo({
                url: '/pages/zeroBuy/my/my'
            })
        },
        goMyService: function() {
            wx.navigateTo({
                url: '/pages/service/orderList/orderList?orderType=0'
            })
        },
        userBrowse: function() {
            wx.navigateTo({
                url: '/pages/user/user_browse/user_browse'
            })
        },
        goShopEdit: function() {
            wx.navigateTo({
                url: '/pages/shopInfo/shopInfo'
            })
        },
        goMyOpus: function() {
            wx.navigateTo({
                url: '/pages/opus/myOpus/myOpus'
            })
        },
        goMyCrowd: function() {
            wx.navigateTo({
                url: '/pages/crowdFunding/my/my'
            })
        },
        goCustomizeImg: function() {
            wx.navigateTo({
                url: '/pages/customizeImg/customizeImg'
            })
        },
        goMyInfo: function() {
            wx.navigateTo({
                url: '/pages/user/userData/userData'
            })
        }
    }
})